<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>个人资料</title>
    <link rel="stylesheet" href="/static/css/profile.css" type="text/css">
</head>
<body>
<div class="profile-edit-container">
    <h2 class="profile-edit-title">个人资料</h2>

    <div class="profile-view-row avatar-row">
        <label>头像</label>
        <div class="avatar-upload">
            <img src="{{.User.Avatar}}" alt="头像" class="avatar-img">
        </div>
    </div>

    <div class="profile-view-row">
        <label>昵称</label>
        <div class="profile-value">{{.User.Username}}</div>
    </div>

    <div class="profile-view-row">
        <label>简介</label>
        <div class="profile-value">{{.User.Bio}}</div>
    </div>

    <div class="profile-view-row">
        <label>性别</label>
        <div class="profile-value">{{.User.Gender}}</div>
    </div>

    <div class="profile-view-row">
        <label>生日</label>
        <div class="profile-value">{{.User.Birthday}}</div>
    </div>

    <div class="profile-view-row">
        <label>喜欢的</label>
        <div class="profile-value">{{.User.Like}}</div>
    </div>

    <div class="profile-view-row">
        <label>院校名称</label>
        <div class="profile-value">{{.User.School}}</div>
    </div>

    <div class="profile-view-row">
        <label>芝麻信用</label>
        <div class="profile-value">{{.User.Zhima}}</div>
    </div>

    <div class="profile-edit-row">
        <a href="/user/profile/edit" class="profile-edit-btn">编辑资料</a>
    </div>
</div>
</body>
</html>
